#include <iostream>
#include <cstdio>
#include <algorithm>
#include <map>
#include <cstring>
#include <vector>
#include<queue>
#include<string>
using namespace std;
int main()
{
	string a;
	int k = 0;
	cin >> a;
	for (int i = 0; i < a.size(); i++)
	{
		cout << a[i];
		if (k == 0)
			cout << ",";
		if (k == 3)
			cout << ".";
		k++;
	}
	cout << ".00";
	return 0;
}